Set Up NFS and Portmap Utilities

The Network File System (NFS) is a file-sharing system that allows you to mount a disk partition on a remote machine as if it were on a local hard drive. This allows easy, seamless file sharing across a network.

Select the NFS services during the Red Hat installation to install NFS on the CSP VoiceXML server.

Starting Portmap and NFS Utilities

To start the portmap and NFS utilities:

1 As the root user, run the following commands to add the portmap and NFS utilities to the startup config for user levels 3, 4, and 5 so that upon reboot, they will automatically start:

chkconfig --level 345 portmap on

chkconfig --level 345 nfs on

chkconfig --level 345 nfslock on

2 Change to the initialization directory:

cd /etc/rc.d/init.d

3 Edit the /etc/exports and add the following to export the home directory the Excel media card:

/home <IP address of media card>(rw,sync) <IP address of
VocalOS>
(rw,no_root_squash,sync)

4 Run the following command to export the home directory:

exportfs -r

5 Run the following commands to start the portmap and NFS utilities:

service portmap start

service nfs start

service nfslock start

6 Run the following command to verify that the utilities are on for users levels 3, 4, and 5:

chkconfig --list

7 Check for errors:

tail -F /var/log/messages

Persistently Mounting an NFS Point

If you successfully mounted an NFS point but on restart the mount goes away, you can use a command mount or an fstab entry to persistently mount the NFS point.

To use a command mount, enter:

mount 10.0.102.73:/home /atg3

The equivalent fstab entry in /etc/fstab is:

atg3:/home /atg3 nfs rw,noauto 0 0

Note: If you have a failure or your mount takes a while on startup, the startup procedure is delayed.